package com.tju.shortlink.project.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.tju.shortlink.project.common.database.BaseDo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mxl
 * @since 2024-07-09
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_link_access_logs")
@Schema(name="TLinkAccessLogs对象", description="访问日志监控")
public class LinkAccessLogsDO extends BaseDo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "完整短链接")
    private String fullShortUrl;

    @Schema(description = "用户信息")
    private String user;

    @Schema(description = "IP")
    private String ip;

    @Schema(description = "浏览器")
    private String browser;

    @Schema(description = "操作系统")
    private String os;

    @Schema(description = "访问网络")
    private String network;

    @Schema(description = "访问设备")
    private String device;

    @Schema(description = "地区")
    private String locale;

}
